package cn.stylefeng.guns.modular.manager.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 订单优惠明细
 * </p>
 *
 * @author yumker
 * @since 2021-01-14
 */
@TableName("flow_order_dis")
public class FlowOrderDis implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "order_dis_id", type = IdType.ID_WORKER)
    private Long orderDisId;

    @TableField("coupon_id")
    private Long couponId;

    @TableField("dis_moneys")
    private BigDecimal disMoneys;

    @TableField("order_id")
    private Long orderId;

    @TableField("type")
    private Integer type;

    @TableField("note")
    private String note;


    public Long getOrderDisId() {
        return orderDisId;
    }

    public void setOrderDisId(Long orderDisId) {
        this.orderDisId = orderDisId;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public BigDecimal getDisMoneys() {
        return disMoneys;
    }

    public void setDisMoneys(BigDecimal disMoneys) {
        this.disMoneys = disMoneys;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Override
    public String toString() {
        return "FlowOrderDis{" +
        "orderDisId=" + orderDisId +
        ", couponId=" + couponId +
        ", disMoneys=" + disMoneys +
        ", orderId=" + orderId +
        ", type=" + type +
        ", note=" + note +
        "}";
    }
}
